package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.Range;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
// 电测温度 对应表 DR_LOGGING_TEMPERATURE
public class DR_LoggingTemperature extends BABaseEntity {
    @Id
    @GenericGenerator(name="drLoggingTempGenerator", strategy="uuid")
    @GeneratedValue(generator="drLoggingTempGenerator")
    private String DR_LoggingTemperature_ID;

    @Basic
    @Column(name = "DEPTH1")
    private Double depth1;

    @Basic
    @Column(name = "STOPTIME1")
    private Double stopTime1;

    @Basic
    @Column(name = "TEMPERATURE1")
    private Double temperature1;

    @Basic
    @Column(name = "DEPTH2")
    private Double depth2;

    @Basic
    @Column(name = "STOPTIME2")
    private Double stopTime2;

    @Basic
    @Column(name = "TEMPERATURE2")
    private Double temperature2;

    @Basic
    @Column(name = "DEPTH3")
    private Double depth3;

    @Basic
    @Column(name = "STOPTIME3")
    private Double stopTime3;

    @Basic
    @Column(name = "TEMPERATURE3")
    private Double temperature3;

    @ManyToOne
    @JoinColumn(name="ba_well_id")
    private BA_Well well;

}
